// 前台路由

const Home = () => import('../views/front/home/Home.vue')
const Detail = () => import('../views/front/detail/Detail.vue')
const Community = () => import('../views/front/community/Community.vue')
// const Login = () => import('../views/front/login/Login.vue')
const Sponsor = () => import('../views/front/sponsor/Sponsor.vue')
const User = () => import('../views/front/user/User.vue')

const ClubDetails = () => import('../views/front/ClubDetails/ClubDetails.vue')



// const Dynamic = () =>import('../views/front/Dynamic/Dynamic.vue')
const ReleaseTheme = () => import('../views/front/ReleaseTheme/ReleaseTheme.vue')
const Allproject = () => import('../views/front/allproject/Allproject.vue')
// const Crowdfunding = () => import('../views/front/Crowdfunding/Crowdfunding.vue')
const Details = () => import('../views/front/Details/Details.vue')
const Dynamic = () => import('../views/front/Dynamic/Dynamic.vue')

const Complaint = () => import('../views/front/Complaint/Complaint.vue')
import userChild from './userChild.js'


const front = [
	{
		path: '/',
		component: Home,
	},
	{
		path: 'home',
		component: Home,
	},
	{
		path: 'community',
		component: Community,
	},
	{
		path: 'sponsor',
		component: Sponsor,
	},
	{
		path: 'user',
    component: User,
    children:userChild
  },
  {
    path: 'detail',
		component: Detail,

	},

	{
    path: 'clubDetails',
		component: ClubDetails,
	},
	{
		path: 'ReleaseTheme',
		component: ReleaseTheme,
	},
	{
		path:'Details',
		component:Details
	},
	{
		path:'Complaint',
		component:Complaint
	},
	{
		path:'Dynamic',
		component:Dynamic
	},
	{
		path:'Allproject',
		component:Allproject
	}
	// ,
	// {
	// 	path:'Crowdfunding',
	// 	component:Crowdfunding
	// }


	
]

export default front
